//
//  UILabelExtension.swift
//  FYWeather
//
//  Created by D on 2017/12/18.
//  Copyright © 2017年 D. All rights reserved.
//

import UIKit

extension UILabel {
    
    func setupLabel(ofSize: CGFloat , txtColor: UIColor) {
        font = UIFont.systemFont(ofSize: ofSize)
        textColor = txtColor
    }
    func setupLabel(ofSize: CGFloat , weight: UIFont.Weight , txtColor: UIColor) {
        font = UIFont.systemFont(ofSize: ofSize, weight: weight)
        textColor = txtColor
    }
    
    func setupLabel(labelFrame: CGRect , ofSize: CGFloat , txtColor: UIColor) {
        frame = labelFrame
        font = UIFont.systemFont(ofSize: ofSize)
        textColor = txtColor
    }
    
    
}
